package com.zking.config;

/* *
 *类名：AlipayConfig
 *功能：基础配置类
 *详细：设置帐户有关信息及返回路径
 *修改日期：2017-04-05
 *说明：
 *以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。
 *该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 */

public class AlipayConfig {
	
//↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "2016091600525397";

	// 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCf61zeBvrWUspqB0whGv9F7JzidUtcuIdfjzJawUurFxm91OChJvTw9AK/dSyWCFog2mrqFpvTilTS/1XCf2eH/Cz+06ptxWSAcSX5WBhRIbHC+WtcVEPYpGTLRNWcb4gLOU4mUV3GAVyJboZkeMMSvqmOewqPJL8Yc5TBETA3ADwqJLm6CnGgV7imRdQ1TTQy4D03Pfzps977C9/7Nz4lpUScJVpd9eOktWmwsaAwdGg4YWQ4InU4qPVK+1m+KZhzFk1OjHkv5sRMrExH+qaiL5dNIrywwp2qnJUmFH/8qasyHZt6T++l0ae/gB6OUO+LLaFg6AE+AYL8itHrRyyBAgMBAAECggEAGgTqZDmQgGSSCHRNf6lr1U2tLO9WpqxjYjnjQH7ot9qXVpqXPcEf40BgXhRLf9G2EFhZQuMQ0XdVW8stgerGxopSK9f2h8uxEXDXc91Qf4rS6F06iZgwPcRpneUCOGSxJtpZC8T7U+cOzlGMTjaTzq302njMfAPHj8vmbQ9F3/zI2hgNyswnP79/hblyB3qhMJjwSbZXXeAMVS3fErrb+Ki7m90hJSPPbrGlyIRZbam/lHyFow+rivD9hdBnT/A49RV4QTuouqdfqNkPfT+0VuVZRaN9RRpgYhUMrV8LBF0M+iBxwcvsFkaaxy8E+GW2WUDJKoNR2CxfZw/sBaLyUQKBgQDWRLE4XvA5n8ZBzZVloeBrsVNJDNgUpVoCBPzCeRvnnadiuZP8iMgd6gfy8fes9qT+X0d1iMmEnVDn7jvqK1lrpe+Ev+css59MPLeBHQyJglZiYwNPCAIR1wN1UDZecVCaBBqqBWuOqYZ+rDCzeXIdrJgwDeJDcyUOgjL9zi1uTQKBgQC/ENxBi6X+YoEDGOl7QQlrx94g4JsJIQyHDd7N+nxczxZXIIPyGepeEs9aH4xoYsOYd2jFwslnbtgHb9wx1w5Jb5TB0Woq16bxOgaA7T+PROy4rBExk4mOPYlCu7q7yZ+qzeV2vqEQAD0ErxrJ2ymD/M6Sfx0qM60MgwCUn1iZBQKBgBlt+aJ5EgWkwsDYh1ySg7IET6Ah2BtLLI2EzgK+oOMyQMVkxP15tlZmih75PK3Yb+iIolB+tXv5t7pu+clm76vo+65DoEob31IK+rRmIDDJuTrgCWp9xtEbNZvcszcuN6SvzAJVtlguInoyMW17gmGnNECvxSTAK6u3JBofOCEZAoGAGJXh0alXjbk9IpnlCVAgFzdbtN1R9cXD5+j3/4c403RuSn3LnK6LAtnmxpECrzfuNUNAPxpGckHIGITjT6J9myN5f8sjnymquKWfyp08rYHP+B9kAv4aGCyA6g5gA+P44LCn0zTKYtW1BFJH3yuNVweDyUQEC7ckkFSXEYjDjMUCgYAD6o1GSmhIct2KapKTiZrqJn+J2izsvPYv7hu1h8DbM1Z+ZbM1vjg+u0Xcm0jNVxm/uP3sZAQKBNDnqqqrQ08eb0CrK+DnQNNDt9rPl+gqxA00X8aY17LVzFo5V5SqhWKoD+/lhABZ4MgMlWJLnKWeNpMsMKQfR6yQhWQVVH6aOQ==";

	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArFDn90F/uQs277p9B2ROrutPKDhAulMlNh1KWmLXxCLeGm7UK6iVvIlCrP6XrF+oFcwWdA97PwTq5MFf3rvXIYNhYYZd+NOHG8Vd6BHzLL5wQZRN9QECoJPGjcoznLGLDwLw/yV5Y6euPCEgN2J2WmG+u/haBoV//8W8f0PKeb87KND8CDWjZxNWnt4cr3c6GMHZwZQWQbw6meRFxb4RDfBJKCBR0MTYG/z4bv+a4I3r1EbzKcQftUVeITcjqdlJ0pcSm8DObQMwXj26dTmS32dzllxqIlGE3lqawSWCYqip6mr6YYpMoN0Ps833P5QL6WCdXwLTrgoUOE/6+tJDBQIDAQAB";

	// 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = "http://localhost:8080/products/paysuccess";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = "http://localhost:8080/products/paysuccess";

	// 签名方式
	public static String sign_type = "RSA2";
	
	// 字符编码格式
	public static String charset = "utf-8";
	
	// 支付宝网关
	public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";
	
}

